package libsvm;

import java.rmi.*;
import java.rmi.activation.*;


public class RemoteSvmImplementation 
  extends Activatable implements RemoteSvmInterface {

  public RemoteSvmImplementation(ActivationID id, MarshalledObject data)
    throws RemoteException 
  {
    // Register the object with the activation system
    // then export it on an anonymous port
    super(id, 0);
  }
  
  public svm.decision_function svm_train_one(svm_problem prob, 
					     svm_parameter param,
					     double Cp, double Cn)
    throws RemoteException
  {
    return svm.svm_train_one(prob, param, Cp, Cn);
  }

}
